﻿using Entity.BaseEntitys;
using Repository.RepositoryExtension;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Utility.Helper;

namespace Application.RoleServices.Dto
{
    public class RoleByPageDto : PageResult
    {
        public RoleByPageDto()
        {
            if (Sorting.IsNullOrEmpty())
                Sorting = "CreateTime";

            OrderByDescending = true;
        }

        public string RoleName { get; set; } = "";


        public string RoleDescribe { get; set; } = "";

    }

    public class RoleByPageOutDto: CreateEntity<Guid>
    {
        public string RoleName { get; set; } = "";


        public string RoleDescribe { get; set; } = "";
    }
}
